package cn.antia.cep.db;

import cn.antia.cep.common.AntiaException;


public class DBException extends AntiaException {

    protected void setCode(String code) {
        code = "db" + code;
        super.setCode(code);
        setEtype("db");
    }


    public DBException(String code) {
        super(code);
    }

    public DBException(String code, String errorMsg) {
        super(code, errorMsg);
    }

    public DBException(String code, boolean reparable) {
        super(code, reparable);
    }

    public DBException(String code, String errorMsg, boolean reparable) {
        super(code, errorMsg, reparable);
    }
}